package cc.openhome;

/**
 * Created by LJY on 2017/3/29.
 */
import java.io.IOException;
import static java.lang.System.out;

public class MemberDemo {
    public static void main(String[] args) throws IOException{
        Member[] members={
                new Member("B1234","Justin",90),
                new Member("B5678","Monica",95),
                new Member("B9876","Irene",88)
        };
        for(Member member:members){
            member.save();
        }
        out.println(Member.load("B1234"));

    }

}
